package com.hc.bean;

import java.util.*;

public class User {
    private String name;
    private Address address;
    private String[] interests;
    private List<String> hobbies;
    private Set<String> alias;
    private Map<String,String> skills;
    private Properties properties;

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", address=" + address +
                ", interests=" + Arrays.toString(interests) +
                ", hobbies=" + hobbies +
                ", alias=" + alias +
                ", skills=" + skills +
                ", properties=" + properties +
                '}';
    }

    public User() {
    }

    public User(String name, Address address, String[] interests, List<String> hobbies, Set<String> alias, Map<String, String> skills, Properties properties) {
        this.name = name;
        this.address = address;
        this.interests = interests;
        this.hobbies = hobbies;
        this.alias = alias;
        this.skills = skills;
        this.properties = properties;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public String[] getInterests() {
        return interests;
    }

    public void setInterests(String[] interests) {
        this.interests = interests;
    }

    public List<String> getHobbies() {
        return hobbies;
    }

    public void setHobbies(List<String> hobbies) {
        this.hobbies = hobbies;
    }

    public Set<String> getAlias() {
        return alias;
    }

    public void setAlias(Set<String> alias) {
        this.alias = alias;
    }

    public Map<String, String> getSkills() {
        return skills;
    }

    public void setSkills(Map<String, String> skills) {
        this.skills = skills;
    }

    public Properties getProperties() {
        return properties;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }
}
